export interface Person {
    firstName: string;
    lastName: string;
}

export class Student {
    fullName: string;
    constructor(public firstName: string, public lastName: string) {
        this.fullName = firstName + lastName;
    }
}

let stu = new Student('1', '2');

let stu1: Student = {
    fullName: '',
    firstName: '2',
    lastName: '2'
}

